import persistedstate from "vuex-persistedstate"
const collection = {
  namespaced: true,
  state: {
    fastview:  localStorage['fastview'] !== undefined ? localStorage['fastview'].split(",") : [],
  },
  mutations: {
    sfastview(state, payload) {
      state.fastview = payload;
      localStorage['fastview'] = payload;
    }
  },
  actions: {},
  modules: {},
  plugins: [
  ]
};

export default collection;
